package com.design.factory;

/**
 * Created by yijy on 2017/11/8.
 * 多工厂设计
 */
public class SendFactory {
    public static Sender produceMail(){
        return new MailSender();
    }

    public static Sender produceSms(){
        return new SmsSender();
    }
}
